﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ReviewCurveApp.Classes
{
    public class SQLs
    {
        List<KeyValuePair<string, List<KeyValuePair<string, object>>>> _Sqls = new List<KeyValuePair<string, List<KeyValuePair<string, object>>>>();

        public List<KeyValuePair<string, List<KeyValuePair<string, object>>>> Sqls 
        {
            get
            {
                return _Sqls;
            }
        }

        internal void Add(string sql, List<KeyValuePair<string, object>> Parameters)
        {
            KeyValuePair<string, List<KeyValuePair<string, object>>> pair =
                new KeyValuePair<string, List<KeyValuePair<string, object>>>(sql, Parameters);

            _Sqls.Add(pair);
        }
    }
}
